from django.conf.urls import patterns, url
from Reservation import views
from django.conf import settings

urlpatterns = patterns('',
        url(r'^$', views.index, name='index'),
        url(r'^register/$', views.register, name='register'),
        url(r'^login/$', views.user_login, name='login'),
        url(r'^logout/$', views.user_logout, name='logout'),
        url(r'^Search/$', views.search,name='Search'),
        url(r'^offer/$', views.offer,name='offer'),
        url(r'^comment/$', views.comment,name='comment'),
        url(r'^book/$', views.book,name='book'),
        url(r'^offer/(?P<offer_id>\d+)/$', views.offerinfo, name='offerInfo'),
        #url(r'^book/(?P<room_id>\d+)/$', views.book, name='book'),
        )